package com.wenlin.myproduction.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.wenlin.myproduction.R;
import com.wenlin.myproduction.base.BaseActivity;
import com.wenlin.myproduction.base.BaseSwipeActivity;
import com.wenlin.myproduction.util.ValCommon;
import com.wenlin.myproduction.widget.LogoAnimView;

import butterknife.BindView;
import butterknife.OnClick;

public class LogoAnimViewActivity extends BaseSwipeActivity {
    @BindView(R.id.lav)
    LogoAnimView lav;

    @Override
    public int getContentView() {
        return R.layout.activity_logo_anim_view;
    }

    public static void start(BaseActivity activity) {
        Intent intent = new Intent(activity, LogoAnimViewActivity.class);
        activity.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setTitle(ValCommon.LOGO_ANIM_VIEW);
    }

    @OnClick({R.id.tv})
    void click(View view) {
        switch (view.getId()) {
            case R.id.tv:
                lav.startAnim();
                break;
            default:
        }
    }
}
